pov-ray ver: 3.5.icl.win32
Sys. op: Win xp
cpu: pentium 4, 256 MB
If i do (i.e.) y= cos(x) where 0 < x < 2*pi and i'm testing the following:
#if(y < 0)
//block1...
#else //block2...
the result when x= pi*3/2 is block1! And taking a look at its value, is
-0.00000 and is taken as negative number. By now i correct it simplyly
checking such y value: #macro correct(num)(num<0?:num=0?0:num:num) #end
Can someone confirm if this is a bug? Thanks
(sorry, but my english is very bad)
Post a reply to this message
|